// uno.config.ts
import {
    defineConfig,
    presetAttributify,
    presetIcons,
    presetTypography,
    presetUno,
    presetWebFonts,
    transformerDirectives,
    transformerVariantGroup,
  } from "unocss";
  
  export default defineConfig({
    shortcuts: {
      "flex-center": "flex justify-center items-center",
    },
    theme: {
      colors: {
        primary: "var(--el-color-primary)",
        primary_dark: "var(--el-color-primary-light-5)",
      },
    },
    presets: [
      presetUno(),
      presetAttributify(),
      presetIcons(),
      presetTypography(),
      presetWebFonts({
        fonts: {
          // ...
        },
      }),
    ],
    transformers: [transformerDirectives(), transformerVariantGroup()],
  });
  